package com.springcloud.sc.ucpv5.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.springcloud.sc.ucp.v5.api.entity.UcpVoipVoiceRecordRelation;
import com.springcloud.sc.ucpv5.mapper.UcpVoipVoiceRecordRelationMapper;
import com.springcloud.sc.ucpv5.service.UcpVoipVoiceRecordRelationService;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
@AllArgsConstructor
public class UcpVoipVoiceRecordRelationServiceImpl extends ServiceImpl<UcpVoipVoiceRecordRelationMapper, UcpVoipVoiceRecordRelation> implements UcpVoipVoiceRecordRelationService {


    @Autowired
    private UcpVoipVoiceRecordRelationMapper ucpVoipVoiceRecordRelationMapper;

    public List getEntityByUUidCalledNumber(String  uuid , String calledNumber){
       return ucpVoipVoiceRecordRelationMapper.getEntityByUUidCalledNumber(uuid, calledNumber);
    }

}
